Added initial numeric mode support. Just works at first glance.