Many improvements and corrections
Comment out the body of registerObject again