Implemented default args for containers and fixed many errors in generated
code.