Changed Container constructor to cope with variable parameters from
Scala