Extract many things from models to oauth2