Generic version allow for automatic type conversion without the explicit type parameter