Reduced code duplication
Updated PHPDoc and added links to Marketo documentation where appropriate