Added logging message when a type is undefined