dependent destroy for entries and definitions

Signed-off-by: Jonathan E. Magen <jonathan@wework.com>