Change function member to register
Merge pull request #1 from Romain33/master

Change function member to register