Added charge and discharge methods to CompatibilityModule