Reduced the number of branches in a get.