Streamline code a little.