Refactor remove in REST-Actions