Refactoring the Binding class