implement content apis and fix issue with overwriting methods (closes #17 and #25)