Modified accessor functions for type information