Initial checkin, copied from Mercuria tracked project.