Got rid of obsolete function.