Removed some unnecessary things.
Some more documentation.