Merge actions into adapter classes as methods.