Fixed error outputs
Changed name of class to not conflict with built in class