Fix #129: Change type declaration of EC2SecurityGroup.