Move functions to top of closure (after self = this)