Fix expanding abbreviations. Close #145.