Name attribute & Rubocop Fixes

Name attribute is now required. 

Fixes for style using rubocop.