BUG-4638: add more type checking methods