Added interface checks to reflection utils