statification of some functions. Implement freetags().