remove nonREST functions