Fixed some compiler warnings about as520 functions that I no longer use.