Simplify readline method signature.