Code simplifications.