Removed old commented code and replaced node->language with field_language on hooks