WYCS: a little bit of refactoring to locate the bind function more appropriately.