Change stub! to stub as stub! is deprecated.