Removed unused registration code.