Add method "register" to Console instances.