Updated documentation and fixed an attribute reference.