Allow register to be used as a class decorator (#322)
Merge pull request #324 from aquavitae/master

Allow register to be used as a class decorator (#322)