Fixed risk addition after upgrading to PHP5 inheritance