Remove php closure for instantiation