Use method for passing types. documentation