Minor code refactor in CurlyReader