Adapting an resources loader for Foundation 5