Support for AnyType

Please review. Thanks