[P3]moving content handlers to SQL.