Several parts of Founders' PHP implemtation