I thought detectInstance would be removed in favor of using instanceof. Am I totally wrong ?