Added basic rest helper code