Set createInstance as protected

Hi everyone.

I need to overwrite this method on a custom loader but the method is private.
I've just change the method from private to protected.