Get placeholder from reference value when querying the item cache.
Allow items to be assigned to references.
Cleaned up test event classes.