Added dependency on underscore.string, added a helper function for writeAccess