Adds support for statements within interactive mode.