Added before_turn and after_turn stubs.