Added method paratemer to API.