Added some methods to TypeAny and tests.