removed use of defmethod

so that line numbers are on failures are correct