Formatting of endpoints