Implemented getType