Updates deployment to support beans + file entity fully.