Fixed minor stuff. Fixed documentation.