refactor registeration of compiler functions to be less verbose.