Doesn't belong in repo.
This should be a class method.
Fix project build paths so it builds again.
Fix to use class methods.