adding method support for endpoints