get rid of assertIsInstance for backwards compatibility