Closes #186 fix resourcecontext compiler warnings.