Added rudimental support for Portlet deployment.