sort imports
s/self/apply/ in HttpVar