device_pyramid: Clean up flags