Added registerInterface method to State