Updated for nodebb 0.5.1