First stable implementation, based on REs.