Added @trigger comment for before_open.