Removed an erronious function that was left over from a debug

Forgot to remove this function before my previous pull request.

It causes a syntax error and causes the class to not load