Use declare_resource to avoid conflict with "package" property