Refactoring: boundary handling implementation.