It doesn't really matter - CreateViews here is a local function, so I didn't see the need to get rid of it.  Same in video database.