Remove deprecated 'register' keyword