Added size param to document item directive.