Revert "finished API stuff"

This reverts commit e77cb12a0451412170d752f35f76f2546572c876.