CSPACE-6265: Fix errors in custom resource declaration.