Implemented resource model upload.