Add upload definitions to controller