Add marker-instance function.