Renamed disposeObjects() to disposeObject().
Code cleanup.