Refactoring a bit of BehatRunner stuff into parent class.