replaced not implemented exceptions with Debug.Asserts