A generic template for creating a Compass extension