Adds support for native fragments