Fixed bind compatibility issues.