Add annotation support for fragments