getMethod() corrected.