Removing deprecated 'register' keywords