Fixed an issue with types not loading resources