Added method decorator.