Change fullhostname to HOST.
Change shorthostname to HOSTNAME.
Change List to Seq in Command and edit classes.