Facotry `get_expansion` method, closes #20