Make all functions take `&str` instead of `String`