RA2-related code and documentation