added @Rest annotation support