Add deflevel, defelement, and defaction