Fix abstract functions

I have no idea what I'm doing.