fix compile for case where we decide not to compile
tighter 'bind' implementation
doc fixes (minor)