Finished the port of all Basic implementations. Fixes the build.