Created a method decorator to change temporarily the value of an attribute to the instance
Fixed the pagination of the historical resource