Can you rename it getRestMethod() ? sorry I didn't spot it at first