Fixed #74 Allow module.properties to specify shared and optional states