expose classes to rest handler