from
  boolean pre()
to
  Action pre()