#check_access and #report_error methods added to the BasicApi module