Using constructor instead of the old static newInstance method.