Finalizing the controllers and filters.