Added getMethod()