Should have been in add factories
Fix checking for volley with non existant class
Fix compilation errors re: class types
Fix factories failing to work for subclasses
Use generated hashcode and equals for metadata
Fix resource test