Added simple cleanup methods.
Adding (poor) documentation to native methods.