Don't include gateway files on setGateway function