Add more detailed comments to exceptions and base resource modules