Set createInstance as protected
Merge pull request #83 from PedroTroller/feature/protected

Set createInstance as protected