1. Changed tabs to spaces.
2. Merged base.py.