Create initialization functions for API types