Added another way to make middleware/filters.