Fix get type for methods