Updated passed references for php 5.4