fix typo.
make metadata methods public.
rename max to amount. stop using per_page as amount.