Allows better error messages via introspection