Add comment explaining rationale for removing instanceof and going with normal string comparison