Converted every static Obj to non-static (fix memory bug)