Attempted to fix really strange method missing errors.
Moved to proper place to avoid compiling oddities