Remove automatic class construction.