Added simple example use of bind_and_apply.