Fixed a bad method call and cleaned up some extraneous lines of stepdef code.