removed unnecessary instanceOfCheck
Merge remote-tracking branch 'origin/master'