Use reflection for creating fragment instances