Yeah, all the components like that (Sprite, Color, etc) could be switched, but it's not something I'd consider a pressing matter.  There might be some places where the local function binds some variables to its closure, in which case it won't be as easy to switch over.