Renaming userInfo to preferences to reflect its actual use.