Added onContentBeforeBind event handler