Manually created clone of token module