Remove tags code from question to lib