Implement name option for attributes.
Change slug resource option to be a string.