Updates onEnable() and onDisable() methods

Note to @gmodz: Deprecation  warnings are useful to developers.
Don't just add @SuppressDeprecation 's everwhere.