Hide deprecated routes from index
Mark legacy routes as deprecated
Pass deprecated errors via headers