Returning posts and post object (could be nicer).