*Implemented template-based type lookup