Fix return type in docblocks for setter methods (closes #575)

The previous value was the document's class name with its namespace removed and a backslash prefix, which would likely not match anything in the global namespace. Using "self" is more appropriate.