Add class variable for posts