Resolve enum bullshit