Remove REST code for positions