Add PECL style documentation to methods