Changed tags variable so as not to conflict with XBlock's tag variable