adding stubs & php doc comments