1. Add some common codes.