Fix rdoc issues with attributes