Fixed PHP strict standards issues (cont'd)