Push visible and hidden attributes to model
Add getVisible method
Update attributes line for readability
Merge pull request #6017 from tomasescobar/master

[5.0] Push Visible And Hidden Attributes To Model