Working on scripting interface.