Renamed the smart object callbacks from on_foo to smart_foo.