Remove deprecated registration code