add setContianed() to Containable and interfaced classes