Added function to get instance markers