Implemented CommandProcessor. Added implicit cast of a single result.