Why set this to an empty function if we check for callback below?