Fixed a logical error dealing with removed methods.