Rename singleton to literal.
Implement singleton factory pattern.