Fix the logic of function `is_function_primitive'.
Workaround for fixing the ability of defining function.
Add a field definition for storing values in Environment.
Change the usage of bindings of an environment.