AbstractGateway fix

Got an error with the create() method. The fix was obvious. Here it is.