Added trim methods