Add waitidle as deprecated.