added support for factories and implicit sole fields