Added support for structs, print an error message if a type is unsupported, and not everything is a framework