Text this: Composite optimization with indicator functions