Added some more REST features.