Revert " Fixed CORE-2200 for wrong field name register.type instead of registerType"

This reverts commit 3e6dc1f31a962ae8860ec1f233cd6c6102c85a4d.