Prevent unwanted function calls