Renamed def to method.
Major version bump.