That would force load the constant. I think allowing strings is fine (like with middleware) but constants should be supported too.