readline wrapper: committing low-level classes