Add support for 'role' attribute. #115