Windmills were used for hulling barley and rice, grinding malt, pressing olives to olive oil, and pressing coleseed, linseed, rapeseed and hempseed for cooking and lighting. There were also cocoa mills, mustard mills and pepper mills (also used for other spices), even tobacco mills and snuff mills.