Refactored string function names to avoid future conflicts, made some
str functions static.