Handled some garbage collection warnings.