Adds before support for controllers