Made blog constraints reusable