Proper register autoloder in static class method
Merge pull request #102 from m8rge/patch-2

Proper register autoloder in static class method