Added scope for extracting posts