Cast strings to integers
Removes unused functions