Added reinitialize and destroy methods.
Updated example with new methods.