Some methods fixed. Documentation updated.