* Refactored api mixin design to use decorators instead of detached functions.