added custom types to api