Added all methods I need. Hopefully it compiles.