Add native session functionality.