Allow creation of document and list at same time

@dlibanori avaliar