Implemented matcher and getType()