Introduced bind function for type-safety.