simplify the implementation of Runtimes.names

I think the implementation of `Runtime.names` doesn't make any sense. Returning the value of `constants` do the same.