Removing obsolete consts and properties