CSPACE-6265: Further refinement of custom resource declaration.