Updating file to include required functions.