add ability to add custom apis and extensions.