Extended document loader interface slightly