Renamed bind into bindClass, fixed #9.