Added functions for pushing / popping data.