Changed Amf parser to use expando if a class has not been registered.