Remove hardcoded factory path from Fields template