WINDUP-171 Use a constant instead of "type"
WINDUP-171 Use a constant instead of "type"