Fix method signature in JApplicationCms