Can you use a constant for `allowProperties`?