Convert statics to constants