Turn members into local variables