Add ord() in more places and add convenience methods for common device commands