Follow the flask pattern for extensions