Refactor direct action metadata.