The fn() is callback function being passed in.