Make the tool controller compile correctly