Pull Request: Add version attribute

@brettweavnet Please review this pull request