Change 'pages' parameter to more appropriate 'object_types'. Fixes #3.