Fixing issue with bound method