mod/fix. raise exceptions on abstract class method calls/pep8

Change-Id: I5b763793cd7b8db0fb17d555c9a81a6720e24285