Spine: more general interface
Add support for typing modules