Make a title and icon optional for a hash-table call