Changes to player encapsulation and direction_stack.