Removed attempt to get actions/triggers. Too hacky.