Get rid of getRequiredType, fix member overload for comparison.