Added getInterface method to State