Removed object type check.