Adding factory library.