Fix addition of method type.