Remove the initializer and do constant closure for toplevel functions