adding in support for undocumented 'views'

Hello mate,

Quick update to a couple of files to add in support for the undocumented 'views' attribute.  Commit c0649ee4368bacf8650c7b4cc76d8ebc34e9f876 has the changes.

Thanks.

Kevin.