Use genetic main-class for AWS too.