Updated interface with GetExtension method and comment