Refactors contribution APIs