Remove EMPTY, replace by checking len() != 0.
Remove print statements, raise NotImplementedError instead.