Adding compatability for bytes and raw input; not done nearly yet