Reduce some code.