Codebook separated to own file.