Use reflection for Equals and Empty