Changed some (error-prone) integral defines into en enum.