Factory for a knockout domain entity.