Forgot to change $.apply() to fn.apply().