Cleaned up some memory