Fix broken native fragment support

Fixes #10