Modify Less4. Now class Factory is singleton.