[issue #18] Implement type hinting