Improve LED API