Minor fixes

Minor fixes to documentation and attribute checks