Improvements to AbstractProvider

The indentation here uses 2 spaces, rather than 4. Please use 4 spaces for indentation.