Remove a useless if
Fix for wrong namespaces for REST
Streamlined the abstract request class