Support duplicate slot names. Resolves #2