XPages plug-in code cleanup