added generation of delete methods