Moved bilateral transform fetching to models.lookups