Working stub of the generate references feature