Added factory services functionality.