Make Pair and Param resource objects abstract.