Revert "dispose methods added"

This reverts commit bc775ea21844902e8bdd3b5cf9983177e17b247d.