Fixed documentation and redesigned Cache mechanic.