Remove trailing spaces.
build -> add, allow ref()