Better register errors