Generated fields of base template specialisations as well.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>