Added removeDeprecated method to database_controller and called it within the master_controller stream method.