Computes deltas for each class and put it in the vtable.

Signed-off-by: Julien Pagès <julien.projet@gmail.com>