Document the new expand content function