Getting method + class