Use Object as a parent class fallback.

When a class extends a non existing class Object should be used instead as a
fallback.

This fixes #32.

Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>