Fixed registration bug. Damn regex.