Move from private to protected

in behat contexts