Treat docks as generic objects