Moved from vty-ui to vty, as we need the crop and translate functions.