Add support for GetType() method
Process types argument.