Changed the way the standard REST controller works a bit.