Abstract away character sequence type