Added proper hooks on publishable object