Revert "Add mode"

This reverts commit 7834c951d5ab8553c50ea5dbb006c69de6fc0982.