Moved __init__ at the top of the class.
Excluded interface and api exception from coverage.