Added auto method.