Closure categories pattern