In Swift3 inheriting from "Subject" displays the following error: > Cannot inherit from non-open class 'Subject' outside of its defining module To fix it the Subject class must be set to open instead of public