added: ensure_string, ensure_integer