Add dependency support for direct mbeans.