This is used for the current reader/writers. Seem above comment for generalizing that mechanism for an arbitrary (e.g. Phoenix based) reader/writer