Allow passing the resource version number under 'resource' property.