Efficient access to novel androsteno-17-(1',3',4')-oxadiazoles and 17β-(1',3',4')-thiadiazoles via N-substituted hydrazone and N,N'-disubstituted hydrazine intermediates, and their pharmacological evaluation in vitro.