Added missing @param tags.
Fixed a @return tag.
Added emit_assignments.
Changed emit_list to add parenthesis, since some SQL arguments require them.