BaseContainer: add include guards