Adjust constant types for D-Bus.