Support for random item creation.