Made some classes produce reproducible results