MIME registration + tidy