Switched most of the ContainsKeys to TryGetValues