Add function to make instance from handle. This removes strange trait names from test.rs.