Moved string extension into main file