Autoresolve classes on Resource