Notice fix in register.
Merge branch 'release/1.0.4'