Adds better EAR and EJB support.