improve(TypeRobot): Refactor interface to write() and push() and implement methods.