remove derivation function of 'struct' and 'service'.