Adding ApiMethod annotations