Adding PHP wrapper and meta-data