Enhancement/attributes

Missing phpdoc