Changes class public properties into constants