Remove associated java classes when deleting the flow