Simplify the source code a little.