Fixes wrong factory declaration methods