Fix Capsule registration