Added a warning when trying to use a non-interactive function