atkregistry: remove code not being compiled