Adds instance_last()
Fetches last instance of a given object. Needs a debug check to ensure the object exists; functions in that header are missing them.