class C(val map: MutableMap) { var foo by map } var bar by hashMapOf()