Added entity support to the rpublisher