Stack implemented and covered by tests.