Replace command method with property.