Fixes actionMethods for older PHP.