Add selected method to header file.