added TYPE_PATH & documentation