Print an error message when new is not used

Instead of instantiating a new instance when called as a function, print
an error message to let the user know to use 'new'