Added a bunch of php docblocks