Add random properties to random functions.
Create circular references (closes #2).