Fix schema path deprectations and remove unused constant