Fixed bug with adding misspelled function to init.