Fixed documentation and renamed a method.