Add a way to release internal storage