Use static const

The idea is not to use mutable static objects when not needed. It is more code cleanup than anything else, but still worth it I think.