Throw an error if the function is called without "new"