Removed question mark in URLs upon class loading