Add prefix support to the accept command.