Now uses Function.bind instead of own alternative