Modified so an actions block is always used.