Remove obsolete 'register' keyword in several places

Signed-off-by: Daniel Crispell <dancrispell@gmail.com>