Disallowing declaring functions within functions just like that

(without assigning to a variable, which could be possible in the future).