Simplifies dealing with different types for strings