Fixed delegate errors.