Better locking in Fly class.