Add cascade functions for relationships