This hook should be moved to os, as it's no os_reader specific.