Toyotomi Hideyoshi changed Japanese society in many ways. These include the imposition of a rigid class structure, restrictions on travel, and surveys of land and production. Class reforms affected commoners and warriors. During the Sengoku period, it had become common for peasants to become warriors, or for samurai to farm due to the constant uncertainty caused by the lack of centralised government and always tentative peace. Upon taking control, Hideyoshi decreed that all peasants be disarmed completely. Conversely, he required samurai to leave the land and take up residence in the castle towns. This solidified the social class system for the next 300 years. Furthermore, he ordered comprehensive surveys and a complete census of Japan. Once this was done and all citizens were registered, he required all Japanese to stay in their respective han (fiefs) unless they obtained official permission to go elsewhere. This ensured order in a period when bandits still roamed the countryside and peace was still new. The land surveys formed the basis for systematic taxation. In 1590, Hideyoshi completed construction of the Osaka Castle, the largest and most formidable in all Japan, to guard the western approaches to Kyoto. In that same year, Hideyoshi banned "unfree labour" or slavery in Japan, but forms of contract and indentured labour persisted alongside the period penal codes' forced labour. Hideyoshi also influenced the material culture of Japan. He lavished time and money on the Japanese tea ceremony, collecting implements, sponsoring lavish social events, and patronizing acclaimed masters. As interest in the tea ceremony rose among the ruling class, so too did the demand for fine ceramic implements, and during the course of the Korean campaigns, not only were large quantities of prized ceramic ware confiscated but many Korean artisans were forcibly relocated to Japan. After the completion of the Golden Pavilion(金毛閣, in the offering written by the national Zen mentor しゅんおくそうえん（春屋宗園 at the request of Sen no Rikyū, thousands of households opened their door at once said this sentence, which angered Hideyoshi. He thought Sen no Rikyū had more influence than himself, then he had Rikyū commit seppuku at his residence within Hideyoshi's Jurakudai palace in Kyoto. Inspired by the dazzling Golden Pavilion in Kyoto, he had the Golden Tea Room constructed, which was covered with gold leaf and lined inside with red gossamer. Using this mobile innovation, he was able to practice the tea ceremony wherever he went,