Added pagination method to association classes