add in rest fb for model classes