Added removeAllObjectives function :rabbit: