Removed safe functions, added safe flag, added version, added module stats