Fixed a metric shit-ton of compile errors.