Remove Function.bind usage