Fix #253 issue

- added support for internals classes in static call

- added tests

- fix docblocks