added readOnly() and readable() methods.