Use NaN library for compatibility. Update bus connection support and expose more functionality.