Updated comments for beforeFilter event