-. Graphs, Codecs refactoring