Reduced AodvRoutingAlgorithms dependency on DatabaseImpl.