Added discovery method.