Add YARD doc to attributes module.