Fixes broken stuff.