Cleaned up mapper code.
Made Pdo quote method public.