Revert "Use readonly instead of constant." because it is not a core module.

This reverts commit 99c064775aad6c0c5a7dffbcfbe07cff069e1a30.