Added some descriptions and removed some useless code.