Resolving some compiler warnings, and replacing deprecated get() and set() calls in Modular Lib