Update to use new constants syntax.