Replaced strings with flags. #146