Added basic functionality to container class.