Removed unnecessary code.
Update documentation.