Added BasedFactory block.