Completly removed Resource in favour of require.js