Replacing use of ->submit() with ->handleRequest() where a request object is used