Remove unneeded statics.