Generate virtual method's bodies