Minor modification of access.py