Replaced stub! with stub since stub! is deprecated.