Enable directly calling the underlying constructor for ptr