Adding a few Getters to the Resource, moving Exceptions and adding some new ones.