Remove magic numbers from RabbitType