generalized type, method and member lookup. Removed old specific lookups like isComparable