Removing unused functions
Updating file
Debugging upgrade routine.
Debugging upgrade routine
updating docblock