Fixed Error with functions that have no type