Adding functionality to create new resource container with specified resource types.