Replaced magic strings with constants for URL construction