Fixed typo in dependency causing module to be uninstallable.
refactored API calls to include error property so not to rely on boolean false because come store properties can also be false.