Method class