Remove some deprecates reflections.