octascript: move type into runtime