[FIX] Fixes #9 – failed to get object type in object plugin