Fixes broken class methods (for include).