Adding extensions file and requiring it from app.
Fixing broken tests due to updates in templates.