Mark all Element classes as partial

Fixes Issue #192