Implementing the bulkheads pattern