Problem: Class API models cannot generate callback typedefs

Solution: Add `<callback_type>` support and example code