Add Aleph functionality and tests