rename :as to :from. thanks to @bethesque for pushing that. fixes #154.