Added registration of functions, constants and enumerations into the extension.c template file.