Generate abstract class instead of interface.
Make all generated methods final.
Allow to extend abstract class through protected constructor.