Fix error from style refactor

When I refactored to conform to the two space indent style, I made
an error and half of the methods in this class ended up belonging to
Error. Fixed.