Remove duplicate class registration