Added object helpers for class checking.