Detecting object type more carefully

- Classnames such as LungaPausa work correctly