Removed old code from class Chunk.